home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-30 | 1.4 KB | 59 lines | [TEXT/CWIE] |
- // ===========================================================================
- // GameSceneTest_prefix.h
- // ===========================================================================
-
-
- // ===========================================================================
- // Compiling Options
- // ===========================================================================
-
- #define kQAMacOS 1 // Target is MacOS
- #define kQAGeneric 2 // Target is generic platform
- #define kQAWin32 3 // Target is Win32
-
- #define kQAPlatform kQAMacOS // Compile for MacOS
-
- #define kGSDebug 1 // turn on the assertions
-
-
- // ===========================================================================
- // Platform Specific Definitions
- // ===========================================================================
-
- #if (kQAPlatform == kQAMacOS)
- #include <Types.h>
- #elif (kQAPlatform == kQAWin32)
- #ifndef NULL
- #if !defined(__cplusplus) && (defined(__SC__) || defined(THINK_C))
- #define NULL ((void *) 0)
- #else
- #define NULL 0
- #endif
- #endif
-
- #ifndef nil
- #define nil NULL
- #endif
-
- #if defined(false)
- #if false != 0
- #error Incompatible 'false' already #defined
- #endif
- #else
- #define false 0
- #endif
-
- #if defined(true)
- #if true != 1
- #error Incompatible 'true' already #defined
- #endif
- #else
- #define true 1
- #endif
-
- #define Boolean unsigned char
- #define Byte unsigned char
- #endif
-
-
-